package com.pig4cloud.pig.iotData.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * kg突然检测NPK实时存储的数据
 *
 * @author lty
 * @date 2024-11-18 22:37:28
 */
@Data
@TableName("iot_data_kgnpk_dev_data")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "kg土壤检测NPK实时存储的数据")
public class IotDataKgnpkDevDataEntity extends Model<IotDataKgnpkDevDataEntity> {


	/**
	* 主键ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="主键ID")
    private Long id;

	/**
	* 对应的物联设备ID
	*/
    @Schema(description="对应的物联设备ID")
    private Long iotDeviceId;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 删除标志0存在1删除
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标志0存在1删除")
    private String delFlag;
}